/**
 * 该文件是和游记内容相关的一些数据模型
 */
//简陋游记信息
export interface Passage {
  author: string
  createTime: string
  avatar: string
  pic?: string
  articleId: number
  title: string
  tags: Array<string>
  comments: number
  isCollect: boolean
}
//提交游记信息
export interface Article {
  title: string
  content: string
  pic?: string//封面图
  destination?: string
  durationsDays?: number
  departureDate?: string
  costPerPerson?: number
  tags?: Array<string>
}

//详细游记信息->展示整个信息
export interface ArticleDetail {
  id: number
  title: string
  content: string
  authorId: number
  authorName: string
  coverImage: string
  durationsDays: number
  departureDate: string
  destination: string
  costPerPerson: number
  createTime: string
  updateTime: string
  isCollected: boolean
  isLiked: boolean
  tags: Array<string>
}
//游记的顶层评论
export interface ArticleTopComment {
  id: number
  userId: number
  userName: string
  avatar: string
  content: string
  commentDate: string
}
//顶层评论的回复
export interface CommentReply {
  id: number
  userId: number
  userName: string
  avatar: string
  content: string
  commentDate: string
}
